package org.br;

import java.io.File;


public class Deleter {
	
	public static void main(String[] args) throws Exception{
		String lol="C:\\linh\\iProject\\linhframe\\function-parser\\src\\main\\java\\org\\br\\plotter";
		File dir=new File(lol);
		delete(dir);
	}
	
	static void delete(File dir){
		if(dir.isFile()&&dir.getName().endsWith(".class")){
			dir.delete();
		}else if(dir.isDirectory()){
			for(File file:dir.listFiles()){
				delete(file);
			}
		}
	}
}
